package com.szsh.aiot.hsm.domain.camera;

import java.util.List;

/**
 * 摄像头列表及其异常访问信息
 *
 * @author zhangtt
 *
 */
public class SingleCameraAbnormal {
    private String name;
    private Integer isOnline;
    private Long deviceId;
    private String buttonFlag;
    private String deviceMac;
    private List<CameraAbnormalModel> abnormal;

    public Long getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(Long deviceId) {
        this.deviceId = deviceId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getIsOnline() {
        return isOnline;
    }

    public void setIsOnline(Integer isOnline) {
        this.isOnline = isOnline;
    }

    public String getButtonFlag() {
        return buttonFlag;
    }

    public void setButtonFlag(String buttonFlag) {
        this.buttonFlag = buttonFlag;
    }

    public List<CameraAbnormalModel> getAbnormal() {
        return abnormal;
    }

    public void setAbnormal(List<CameraAbnormalModel> abnormal) {
        this.abnormal = abnormal;
    }

    public String getDeviceMac() {
        return deviceMac;
    }

    public void setDeviceMac(String deviceMac) {
        this.deviceMac = deviceMac;
    }

    @Override
    public String toString() {
        return "SingleCameraAbnormal{" +
                "name='" + name + '\'' +
                ", isOnline=" + isOnline +
                ", deviceId=" + deviceId +
                ", buttonFlag='" + buttonFlag + '\'' +
                ", deviceMac='" + deviceMac + '\'' +
                ", abnormal=" + abnormal +
                '}';
    }
}
